Author: J. K. Patel
Date: 04/09/2024

Title: Description of setup details and files contained in the Section 2 dataset.

This dataset contains the configuration files used to perform Monte-Carlo simulations using SRIM v2013.0 TRIM software (see www.srim.org), as well as the generated simulation data,
and a Python analysis script used to generate Figure 2b) of the article "A scintillating fiber imaging spectrometer for active characterisation of laser-driven proton beams".

Files:
./Configuration Files/TRIM.IN		
		This configuration file is used by the TRIM software in SRIM-2013 to define the material composition, density and layer depth for modelling 100 mm of polystyrene. 
		It should be placed in the SRIM-2013 install directory to configure the setup and outputs of the TRIM simulation.

./Configuration Files/TRIM.DAT	
		This configuration file is used by the TRIM software in SRIM-2013 to define the ion types and energies to simulate. In this case, we define 449,486 hydrogen ions 
		(i.e. protons) with energies from 100 keV to 100 MeV, in 100 keV increments.

./Simulation Data/TRIM_data.csv	
		This file contains a subset of the first 1 million lines from the generated raw data file from the TRIM simulations used in the analysis. The subset is used only to enable
		upload to the eData repository and the full dataset is available from the corresponding author on reasonable request (jesel.patel@strath.ac.uk)

./Analysis/TRIM_energy_resolution_analysis.py
		This file contains the Python script used to analyse the simulation data, and generate Figure 2b) shown in the article. This script 
		was run with Python 3.9.19, and uses python packages: numpy-1.24.3, matplotlib-3.8.0, pandas-2.0.3 and scipy-1.9.3.

./Analysis/TRIM_energy_resolution_analysis.ipynb 		
		This file contains the same Python code but in a Jupyter notebook for interactive editing. 

./Figures/TRIM_Figure_2b).png
		This is the output image file from the analysis script, showing the modelled energy resolution of detectors formed from layers of polystyrene with various
		depths. Scintillating fibers with diameters of 500 um, 250 um and 100 um are modelled as simple polystyrene layers with corresponding thicknesses, and 
		HDV2 and EBT3 type radiochromic films (RCFs) are modelled as 107 um and 153 um layers of polystyrene, respectively, with active layers of 12 um and 28 um
		respectively.

